#include "curveeditor.h"

#include <QPainter>

CurveEditor::CurveEditor(QWidget *parent)
    : QWidget{parent}
{
    setAttribute(Qt::WA_TransparentForMouseEvents, true);
}

void CurveEditor::paintEvent(QPaintEvent *event)
{
    QPainter* painter = new QPainter(this);
    painter->setBrush(QColor(0x88, 128, 128, 128));
    painter->drawRect(this->rect());
    delete painter;
}
